package create.builder.old;

/**
 * @author dali
 * @date 2021-07-09 15:11
 * @Description 房子的一些基本属性
 */

public class House {
    //地基
    private String base;
    //墙
    private String wall;
    //吊顶
    private String cell;

    //set get方法
    public String getBase() {
        return base;
    }

    public void setBase(String base) {
        this.base = base;
    }

    public String getWall() {
        return wall;
    }

    public void setWall(String wall) {
        this.wall = wall;
    }

    public String getCell() {
        return cell;
    }

    public void setCell(String cell) {
        this.cell = cell;
    }

    @Override
    public String toString() {
        return "House{" +
                "base='" + base + '\'' +
                ", wall='" + wall + '\'' +
                ", cell='" + cell + '\'' +
                '}';
    }
}
